package com.wy.demo.service;

import com.wy.demo.mapper.MyMapper;
import com.wy.demo.pojo.TBbrand;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @描述
 * @创建人 wangyue
 * @创建时间2020/12/715:51
 */
@Service
public class MyService {

    @Resource
    private MyMapper myMapper;


    public List<TBbrand> getAll() {
       return myMapper.selectList(null);
        //  return myMapper.myselect();
    }
}
